package com.itheima;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableScheduling  // 开启任务
@MapperScan(basePackages = "com.itheima.mapper")
public class QuartzMain {
    public static void main(String[] args) {
        SpringApplication.run(QuartzMain.class,args);
        System.out.println("quartz模块启动....");
    }
}
